package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 拼多多运费模板对象 tl_pdd_mall_template
 * 
 * @author ruoyi
 * @date 2023-11-14
 */
public class TlPddMallTemplate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 计费方式 */
    @Excel(name = "计费方式")
    private Long costType;

    /** 最近更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最近更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastUpdatedTime;

    /** 模板id */
    @Excel(name = "模板id")
    private Long templateId;

    /** 运费模板名称 */
    @Excel(name = "运费模板名称")
    private String templateName;

    /** 店铺id */
    @Excel(name = "店铺id")
    private Long mallId;

    /** 店铺名称 */
    @Excel(name = "店铺名称")
    private String mallName;

    /** 登录用户id */
    @Excel(name = "登录用户id")
    private Long userId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCostType(Long costType) 
    {
        this.costType = costType;
    }

    public Long getCostType() 
    {
        return costType;
    }
    public void setLastUpdatedTime(Date lastUpdatedTime) 
    {
        this.lastUpdatedTime = lastUpdatedTime;
    }

    public Date getLastUpdatedTime() 
    {
        return lastUpdatedTime;
    }
    public void setTemplateId(Long templateId) 
    {
        this.templateId = templateId;
    }

    public Long getTemplateId() 
    {
        return templateId;
    }
    public void setTemplateName(String templateName) 
    {
        this.templateName = templateName;
    }

    public String getTemplateName() 
    {
        return templateName;
    }
    public void setMallId(Long mallId) 
    {
        this.mallId = mallId;
    }

    public Long getMallId() 
    {
        return mallId;
    }
    public void setMallName(String mallName) 
    {
        this.mallName = mallName;
    }

    public String getMallName() 
    {
        return mallName;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("costType", getCostType())
            .append("lastUpdatedTime", getLastUpdatedTime())
            .append("templateId", getTemplateId())
            .append("templateName", getTemplateName())
            .append("mallId", getMallId())
            .append("mallName", getMallName())
            .append("userId", getUserId())
            .append("createTime", getCreateTime())
            .toString();
    }
}
